Calendar Item Reminder
- Used to create user notifications through user-selected methods.
- Not displayed on the calendar.
- Always linked to another calendar item (except for another
reminderitem). In other words, it must have a dependency that determines its trigger time (timestamp) — thestartproperty is always correctly defined. This type of item cannot exist on its own; it must be paired with another item of a different type. - The
parentproperty is alwaysnull. - The start and end dates are always the same — the item has no
duration, only atimestamp. - It cannot have variants, only a single current version. In other words, it does not have a
baselineproperty. - It cannot be broken into parts — it has no descendants, cannot act as a parent for any other calendar item, and cannot have a
childrenproperty.
Reminder keywords
REMINDER_KEYWORDS = 'reminder'
| 'rem'
| 'notify';
SHORT_ADD_REMINDER_CMD = 'mkrem'
| 'addrem'
| 'newrem'
| '+rem'
| 'nrem';
SHORT_MOD_REMINDER_CMD = 'modrem'
| 'edrem'
| 'crem';
SHORT_DEL_REMINDER_CMD = 'rmrem'
| 'delrem';
REMINDER_PTRS_KEYWORDS = START_PTR_KEYWORD
| NOTE_PTR_KEYWORD
| NAME_PTR_KEYWORD
| ASSIGN_PTR_KEYWORD
| TAG_PTR_KEYWORD
| DEADLINE_PTR_KEYWORD;
REMINDER_PTRS_LIST = { SPC, ( (START_PTR_KEYWORD, DEPENDS_VALUE)
| (DEADLINE_PTR_KEYWORD, DEPENDS_VALUE)
| (ASSIGN_PTR_KEYWORD, ASSIGN_VALUE)
| (TAG_PTR_KEYWORD, TAG_LIST)
| (NAME_PTR_KEYWORD, REMINDER_NAME)
| (NOTE_PTR_KEYWORD, REMINDER_NAME) ) }-;
REMINDER_NAME = ( { SPC, ( WORD - REMINDER_PTRS_KEYWORDS ) }-
| SPC, STRING );
REMINDER_SEARCH_EXP = ( 'R', NUMBER )
| REMINDER_NAME;
START_PTR-- The Dependence rules. This rule link the remainder with other objectDEADLINE_PTR-- The Due date of auto-cancelation of the remainderASSIGN_PTR-- The specific assigment. If it skip, then assigment to current userTAGS_PTR-- The tags listNAME_PTR-- The name of remainder (short description)NOTE_PTR-- The long description of reminder
Create Calendar Item Reminder
ADD_KEYWORD--add,create,new, ... etc.REMINDER_KEYWORDS--rem,reminder,notifySHORT_ADD_REMINDER_CMD--|| ``REMINDER_PTR_KEYWORDS--|| ``
Examples Reminder's Creation
-
Open add reminder dialog
add remainder -
Add simple reminder for tomorrow (by default) --> Automatical make note + reminder
add reminder "My Reminder name" -
Add remainder for calendar item
add reminder start with <task_id>